import Vue from 'vue'
import VueRouter from 'vue-router'
import ListPage from '@/views/ListPage/Index.vue'
import ExaminePage from '@/views/ExaminePage/Index.vue'




Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'listPage',
    component: ListPage
  },
  {
    path: '/listPage',
    name: 'listPage',
    component: ListPage
  },
  {
    path: '/examinePage/:id',
    name: 'examinePage',
    component: ExaminePage
  },

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
